package com.nightsoul.springsession.test;

import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.webapp.WebAppContext;


public class Launcher {

	public static void main(String[] args) throws Exception {
		Server server = new Server(8082);
		WebAppContext context = new WebAppContext("F:\\work\\myprojects\\spring-session-test\\web-app2\\src\\main\\webapp", "/web-app2");
		context.setDefaultsDescriptor("F:\\work\\myprojects\\spring-session-test\\web-app2\\src\\main\\resources\\webdefault.xml");
		server.setHandler(context);
		
		server.start();
		server.join();
	}

}
